JAVA 11: WEB APPLICATIONS AND JAVA EE by POUL KLAUSEN

JAVA 11: WEB APPLICATIONS AND JAVA EE by POUL KLAUSEN

Author:POUL KLAUSEN [KLAUSEN , POUL]
Language: eng
Format: azw3, pdf
Publisher: UNKNOWN
Published: 2021-01-13T16:00:00+00:00


The goal is to end the session so that the object loginBean (and, if any, other session objects) no longer lives. Then there is edit.jsp, in the event of a new employee opens the page below. The page is basically a form and is in principle no different than login.jsp. It fills a lot, and I’ve only shown a part of the HTML code:

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@page errorPage="error.jsp" %>

<!DOCTYPE html>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title>

<link rel="stylesheet" href="styles.css" type="text/css"/>

</head>

<body> <jsp:useBean id="personBean" class="changeaddress.beans.PersonBean" scope="session"/>

<jsp:include page="header.jsp"/>

<h2>Edit data</h2>

<form method="post" action="StoreServlet">

<table>

<tr>

<td>Employee number&nbsp;&nbsp;&nbsp;</td>

<td><input type="text" name="userid" readonly="true" style="width:60px" value="${personBean.userid}" /></td>

</tr>

…

<tr>



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.